package com.ruoyi.wq.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.wq.domain.WqPlayOrder;
import com.ruoyi.wq.domain.vo.WqPlayOrderVO;

/**
 * 陪玩订单Mapper接口
 * 
 * @author ruoyi
 * @date 2023-09-11
 */
public interface WqPlayOrderMapper extends BaseMapper<WqPlayOrder> {
    /**
     * 查询陪玩订单
     * 
     * @param id 陪玩订单主键
     * @return 陪玩订单
     */
    public WqPlayOrder selectWqPlayOrderById(String id);

    /**
     * 查询陪玩订单列表
     * 
     * @param wqPlayOrder 陪玩订单
     * @return 陪玩订单集合
     */
    public List<WqPlayOrder> selectWqPlayOrderList(WqPlayOrder wqPlayOrder);

    /**
     * 新增陪玩订单
     * 
     * @param wqPlayOrder 陪玩订单
     * @return 结果
     */
    public int insertWqPlayOrder(WqPlayOrder wqPlayOrder);

    /**
     * 修改陪玩订单
     * 
     * @param wqPlayOrder 陪玩订单
     * @return 结果
     */
    public int updateWqPlayOrder(WqPlayOrder wqPlayOrder);

    /**
     * 删除陪玩订单
     * 
     * @param id 陪玩订单主键
     * @return 结果
     */
    public int deleteWqPlayOrderById(String id);

    /**
     * 批量删除陪玩订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWqPlayOrderByIds(String[] ids);

	public IPage<WqPlayOrderVO> selectPageList(IPage<WqPlayOrderVO> page, WqPlayOrderVO wqPlayOrder);

	public Long getCashByUserId(WqPlayOrderVO playOrder);
}
